﻿using ConfExpert.Forms.Base;
using DevTeam;
using System;

namespace ConfExpert.Forms.Depo._7C
{
    public partial class DonmesiBeklenenKumaslar : XForm
    {
        public DonmesiBeklenenKumaslar()
        {
            InitializeComponent();
        }

        private void DonmesiBeklenenKumaslar_Load(object sender, EventArgs e)
        {
            gridView1.Init("GetGPDonmesiBeklenenKumaslar");
            gridView1.FormatAsDate("CikisTarihi");
            gridView1.AddColumn("QtyBeklenen", typeof(decimal), "ISNULL(QtyCikilan,0)-ISNULL(QtyTuketilen,0)");
            gridView1.FormatAsNumber(1, "QtyCikilan", "QtyTuketilen", "QtyBeklenen");
            gridView1.AddSummary("QtyCikilan", "QtyTuketilen", "QtyBeklenen", "EksikBM");
            gridView1.BestFitColumns();
        }
    }
}
